Total Complexity | 45 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 384 |
Lines of code | 134 |
Logical lines of code | 72 |
Comment lines | 157 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
perform_capture() | 40 | 11 | 60 | |
maybe_capture_paid_order() | 58 | 5 | 15 | |
do_capture_success() | 64 | 6 | 8 | |
order_can_be_captured() | 65 | 4 | 9 | |
is_order_fully_captured() | 66 | 4 | 7 | |
__construct() | 69 | 3 | 6 | |
maybe_perform_capture() | 68 | 2 | 7 | |
is_order_ready_for_capture() | 76 | 2 | 3 | |
has_order_authorization_expired() | 70 | 2 | 5 | |
get_order_authorization_amount() | 74 | 2 | 4 | |
do_capture_failed() | 98 | 1 | 1 | |
is_order_captured() | 77 | 1 | 3 | |
get_order_capture_maximum() | 80 | 1 | 3 | |
get_gateway() | 82 | 1 | 3 |